package com.lby.psychology.model.pojo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * psyc_permission
 * @author myk
 */
@Data
@Schema(name = "权限")
public class PsycPermission implements Serializable {
    /**
     * 权限id
     */
    @Schema(description = "权限id")
    private Integer permissionId;

    /**
     * 权限路径
     */
    @Schema(description = "权限路径")
    private String permissionUrl;

    /**
     * 权限类型 10 接口 20 页面
     */
    @Schema(description = "权限类型 10 接口 20 页面")
    private Short permissionType;

    /**
     * 认证级别0 匿名 1 登录
     */
    @Schema(description = "认证级别0 匿名 1 登录")
    private Short authType;

    /**
     * 页面展示名
     */
    @Schema(description = "页面展示名")
    private String pageName;

    /**
     * 页面优先级
     */
    @Schema(description = "页面优先级")
    private Integer priority;

    /**
     * 页面组code
     */
    @Schema(description = "页面组code")
    private String groupCode;

    /**
     * 页面组描述
     */
    @Schema(description = "页面组描述")
    private String groupName;

    /**
     * 图标class
     */
    @Schema(description = "图标class")
    private String dataFeather;


    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;


    @Serial
    private static final long serialVersionUID = 1L;
}
